/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.opensource.jdom.taggen.html.tag;

import org.opensource.jdom.taggen.html.I18nAttributes;

/**
 * Meta information. Used to provide information about the HTML page. 
 * It must be placed within the head element.
 *
 * @see Head
 * 
 * @author sergio.valdez
 */
public class Meta extends I18nAttributes{

    /**
     * is used to specify the meta information itself. 
     */
    private String cssContent;
    /**
     * can be used when name is not used to define an 'equivalent' HTTP header
     * for the document. This is commonly used to specify the MIME type and
     * character set when the author has no direct control over the server.
     */
    private String http_equiv;
    /**
     * can be used when name is used to specify how the value of content should
     * be interpreted.
     */
    private String scheme;

    /**
     * can be used to specify the name given to the meta information. The value
     * can be anything, but common examples are description and author.
     */
    private String cssName;

    /**
     * Start tag with requiered attributes.
     */
    public Meta(String content) {
        this.cssContent = content;
    }

    /**
     * is used to specify the meta information itself.
     * @return the content
     */
    public String getCssContent() {
        return cssContent;
    }

    /**
     * is used to specify the meta information itself.
     * @param content the content to set
     */
    public void setCssContent(String content) {
        this.cssContent = content;
    }

    /**
     * can be used when name is not used to define an 'equivalent' HTTP header
     * for the document. This is commonly used to specify the MIME type and
     * character set when the author has no direct control over the server.
     * @return the http_equiv
     */
    public String getHttp_equiv() {
        return http_equiv;
    }

    /**
     * can be used when name is not used to define an 'equivalent' HTTP header
     * for the document. This is commonly used to specify the MIME type and
     * character set when the author has no direct control over the server.
     * @param http_equiv the http_equiv to set
     */
    public void setHttp_equiv(String http_equiv) {
        this.http_equiv = http_equiv;
    }

    /**
     * can be used when name is used to specify how the value of content should
     * be interpreted.
     * @return the scheme
     */
    public String getScheme() {
        return scheme;
    }

    /**
     * can be used when name is used to specify how the value of content should
     * be interpreted.
     * @param scheme the scheme to set
     */
    public void setScheme(String scheme) {
        this.scheme = scheme;
    }

    /**
     * can be used to specify the name given to the meta information. The value
     * can be anything, but common examples are description and author.
     * @return the cssName
     */
    public String getCssName() {
        return cssName;
    }

    /**
     * can be used to specify the name given to the meta information. The value
     * can be anything, but common examples are description and author.
     * @param cssName the cssName to set
     */
    public void setCssName(String cssName) {
        this.cssName = cssName;
    }


}
